.audio-container {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  justify-content: center;
  align-items: center;
}
.audio-sub-box {
  display: flex;
  justify-content: space-between;
  width: 840px;
}
.audio-adapter-box {
  display: flex;
}
.audio-box {
  border-radius: 15px;
  background: var(--item-bg);
  display: flex;
  width: 200px;
  min-height: 300px;
  height: fit-content;
  border: 2px solid var(--font-color);
  justify-content: center;
  margin: 5px;
}
.audiostyle {
  display: flex;
  flex-direction: column;
  padding: 10px;
  width: 90px;
  min-height: 350px;
  height: fit-content;
  text-align: center;
  font-size: 15px;
  /* justify-content: space-between; */
}
.audiostyle > div {
  font-size: 16px;
}
.audiostyle * {
  margin: 5px;
}
.audiostyle input[type="range"] {
  width: 200px;
  background: transparent;
  appearance: none;
  transform: rotate(-90deg) translateX(-100%) translateY(32px);
  transform-origin: left;
  cursor: pointer;
}
.audiostyle input[type="range"]:disabled::after {
  border: 2px solid rgba(118, 118, 118, 0.3);
}
.audiostyle input[type="range"]::after {
  content: "";
  position: absolute;
  width: 105%;
  height: 70px;
  top: -35px;
  left: -3%;
  border-radius: 8px;
  border: 2px solid var(--font-color);
  z-index: -1;
}
/* 不支持伪类 */
.audiostyle input[type="number"] {
  border-radius: 5px;
  padding: 2px;
}
.audiostyle input[type="range"]::-moz-range-track {
  height: 5px;
  border-radius: 10px;
  background: linear-gradient(to left, #121313, #b0b8cc);
}
.audiostyle input[type="range"]::-webkit-slider-runnable-track {
  height: 5px;
  border-radius: 10px;
  background: linear-gradient(to left, #121313, #b0b8cc);
}
.audiostyle input[type="range"]::-moz-range-thumb {
  appearance: none;
  height: 40px;
  width: 20px;
  margin-top: -18px;
  background: linear-gradient(
    to left,
    #121313 30%,
    #b0b8cc 30%,
    #b0b8cc 70%,
    #121313 70%
  );
  border-radius: 5px;
}
.audiostyle input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  height: 40px;
  width: 20px;
  margin-top: -18px;
  background: linear-gradient(
    to left,
    #121313 30%,
    #b0b8cc 30%,
    #b0b8cc 70%,
    #121313 70%
  );
  border-radius: 5px;
}
.checkbox-audio-label {
  cursor: pointer;
  height: 25px;
  background: grey;
  display: block;
  position: relative;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
    rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
  border-radius: 3px;
}
.checkbox-audio-label::before {
  content: "OFF";
  font-size: small;
  font-weight: bold;
  color: #fff;
  position: absolute;
  left: 0;
  width: 100%;
  height: 25px;
  line-height: 25px;
  visibility: visible;
  transition: left var(--transition-time), color var(--transition-time);
}
.checkbox-audio-label::after {
  content: "ON";
  font-size: small;
  font-weight: bold;
  position: absolute;
  left: 100%;
  color: transparent;
  width: 100%;
  height: 25px;
  line-height: 25px;
  visibility: hidden;
  transition: left var(--transition-time), color var(--transition-time);
}
.audiostyle input[type="checkbox"]:checked + label {
  background: #415da1;
}
.audiostyle input[type="checkbox"]:checked + label::before {
  left: -100%;
  transform: translateX(0%);
  color: transparent;
  visibility: hidden;
}
.audiostyle input[type="checkbox"]:checked + label::after {
  left: 0;
  transform: translateX(0%);
  color: #fff;
  visibility: visible;
}
.checkbox-audio-label:active::after {
  width: 100%;
}
.audiostyle input[type="text"] {
  cursor: pointer;
  height: 25px;
  line-height: 25px;
  text-align: center;
  background: #415da1;
  display: block;
  position: relative;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
    rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
  border-radius: 3px;
  color: #fff;
  font-weight: bold;
  font-size: small;
  border: transparent;
  outline-style: none;
}
